package jsu.blogger.service.inter;

import jsu.blogger.pojo.Tag;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface SetUserDataService {
    int setUsernameByUserId(String newUsername,Long userId);

    int setSexByUserId(int newSex,Long userId);

    int setAvatarByUserId(MultipartFile avatar, Long userId);

    int creatFolder(Long userId,String folderName);

    int setUserEmail(String email, long uid);

    int setUserTags(List<Tag> tagList, Long userId);
}
